PrizmDoc
How to Configure PHP Web Tier with SELinux

When running PHP Web Tier on Security-Enhanced Linux you may experience issues with loading documents in the Viewing Client, and may see the following errors in Apache's log files:

PHP Warning: file_get_contents(<URL>): failed to open stream: Permission denied

The reason for this is that the Web Tier needs to contact the PrizmDoc Server. By default SELinux disallows Apache processes from connecting out.

You can run the following command to allow the web tier to function:

Example
Copy Code
setsebool -P httpd_can_network_connect 1

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback